-- GENERATED SPELL FOR [Diemetradon] --


function spell0_9163(pUnit, Event) --@Dire Growl,n/a--
pUnit:FullCastSpellOnTarget(13692,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9163', 16000, 1)
end

function Sorts_9163(pUnit, Event)
local choix_sorts_9163 = math.random(0, 0)
if choix_sorts_9163 == 0 then
pUnit:RegisterEvent('spell0_9163', 1, 1)
end
end

function mob9163_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9163', math.random(1500, 3000), 1)
end

function mob9163_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9163_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9163_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9163, 1, 'mob9163_Action')
RegisterUnitEvent(9163, 2, 'mob9163_Leave')
RegisterUnitEvent(9163, 3, 'mob9163_Kill')
RegisterUnitEvent(9163, 4, 'mob9163_Die')
